package com.example.demo.model;

public class RolePermission {
    private Integer permissionId;

    private String role;

    private String thePermission;

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getThePermission() {
        return thePermission;
    }

    public void setThePermission(String thePermission) {
        this.thePermission = thePermission;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", permissionId=").append(permissionId);
        sb.append(", role=").append(role);
        sb.append(", thePermission=").append(thePermission);
        sb.append("]");
        return sb.toString();
    }
}